package com.jc.domain.user;

import com.jc.base.page.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserShipChargeInfoConditions {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Page page;

    private Date shardDate;

    public UserShipChargeInfoConditions() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page = page;
    }

    public Page getPage() {
        return this.page;
    }

    public void setShardDate(Date shardDate) {
        this.shardDate = shardDate;
    }

    public Date getShardDate() {
        return this.shardDate;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andAreaIdsIsNull() {
            addCriterion("area_ids is null");
            return (Criteria) this;
        }

        public Criteria andAreaIdsIsNotNull() {
            addCriterion("area_ids is not null");
            return (Criteria) this;
        }

        public Criteria andAreaIdsEqualTo(String value) {
            addCriterion("area_ids =", value, "areaIds");
            return (Criteria) this;
        }

        public Criteria andAreaIdsNotEqualTo(String value) {
            addCriterion("area_ids <>", value, "areaIds");
            return (Criteria) this;
        }

        public Criteria andAreaIdsGreaterThan(String value) {
            addCriterion("area_ids >", value, "areaIds");
            return (Criteria) this;
        }

        public Criteria andAreaIdsGreaterThanOrEqualTo(String value) {
            addCriterion("area_ids >=", value, "areaIds");
            return (Criteria) this;
        }

        public Criteria andAreaIdsLessThan(String value) {
            addCriterion("area_ids <", value, "areaIds");
            return (Criteria) this;
        }

        public Criteria andAreaIdsLessThanOrEqualTo(String value) {
            addCriterion("area_ids <=", value, "areaIds");
            return (Criteria) this;
        }

        public Criteria andAreaIdsLike(String value) {
            addCriterion("area_ids like", value, "areaIds");
            return (Criteria) this;
        }

        public Criteria andAreaIdsNotLike(String value) {
            addCriterion("area_ids not like", value, "areaIds");
            return (Criteria) this;
        }

        public Criteria andAreaIdsIn(List<String> values) {
            addCriterion("area_ids in", values, "areaIds");
            return (Criteria) this;
        }

        public Criteria andAreaIdsNotIn(List<String> values) {
            addCriterion("area_ids not in", values, "areaIds");
            return (Criteria) this;
        }

        public Criteria andAreaIdsBetween(String value1, String value2) {
            addCriterion("area_ids between", value1, value2, "areaIds");
            return (Criteria) this;
        }

        public Criteria andAreaIdsNotBetween(String value1, String value2) {
            addCriterion("area_ids not between", value1, value2, "areaIds");
            return (Criteria) this;
        }

        public Criteria andAreaNamesIsNull() {
            addCriterion("area_names is null");
            return (Criteria) this;
        }

        public Criteria andAreaNamesIsNotNull() {
            addCriterion("area_names is not null");
            return (Criteria) this;
        }

        public Criteria andAreaNamesEqualTo(String value) {
            addCriterion("area_names =", value, "areaNames");
            return (Criteria) this;
        }

        public Criteria andAreaNamesNotEqualTo(String value) {
            addCriterion("area_names <>", value, "areaNames");
            return (Criteria) this;
        }

        public Criteria andAreaNamesGreaterThan(String value) {
            addCriterion("area_names >", value, "areaNames");
            return (Criteria) this;
        }

        public Criteria andAreaNamesGreaterThanOrEqualTo(String value) {
            addCriterion("area_names >=", value, "areaNames");
            return (Criteria) this;
        }

        public Criteria andAreaNamesLessThan(String value) {
            addCriterion("area_names <", value, "areaNames");
            return (Criteria) this;
        }

        public Criteria andAreaNamesLessThanOrEqualTo(String value) {
            addCriterion("area_names <=", value, "areaNames");
            return (Criteria) this;
        }

        public Criteria andAreaNamesLike(String value) {
            addCriterion("area_names like", value, "areaNames");
            return (Criteria) this;
        }

        public Criteria andAreaNamesNotLike(String value) {
            addCriterion("area_names not like", value, "areaNames");
            return (Criteria) this;
        }

        public Criteria andAreaNamesIn(List<String> values) {
            addCriterion("area_names in", values, "areaNames");
            return (Criteria) this;
        }

        public Criteria andAreaNamesNotIn(List<String> values) {
            addCriterion("area_names not in", values, "areaNames");
            return (Criteria) this;
        }

        public Criteria andAreaNamesBetween(String value1, String value2) {
            addCriterion("area_names between", value1, value2, "areaNames");
            return (Criteria) this;
        }

        public Criteria andAreaNamesNotBetween(String value1, String value2) {
            addCriterion("area_names not between", value1, value2, "areaNames");
            return (Criteria) this;
        }

        public Criteria andStartWeightIsNull() {
            addCriterion("start_weight is null");
            return (Criteria) this;
        }

        public Criteria andStartWeightIsNotNull() {
            addCriterion("start_weight is not null");
            return (Criteria) this;
        }

        public Criteria andStartWeightEqualTo(Integer value) {
            addCriterion("start_weight =", value, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightNotEqualTo(Integer value) {
            addCriterion("start_weight <>", value, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightGreaterThan(Integer value) {
            addCriterion("start_weight >", value, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("start_weight >=", value, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightLessThan(Integer value) {
            addCriterion("start_weight <", value, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightLessThanOrEqualTo(Integer value) {
            addCriterion("start_weight <=", value, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightIn(List<Integer> values) {
            addCriterion("start_weight in", values, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightNotIn(List<Integer> values) {
            addCriterion("start_weight not in", values, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightBetween(Integer value1, Integer value2) {
            addCriterion("start_weight between", value1, value2, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("start_weight not between", value1, value2, "startWeight");
            return (Criteria) this;
        }

        public Criteria andStartPriceIsNull() {
            addCriterion("start_price is null");
            return (Criteria) this;
        }

        public Criteria andStartPriceIsNotNull() {
            addCriterion("start_price is not null");
            return (Criteria) this;
        }

        public Criteria andStartPriceEqualTo(Double value) {
            addCriterion("start_price =", value, "startPrice");
            return (Criteria) this;
        }

        public Criteria andStartPriceNotEqualTo(Double value) {
            addCriterion("start_price <>", value, "startPrice");
            return (Criteria) this;
        }

        public Criteria andStartPriceGreaterThan(Double value) {
            addCriterion("start_price >", value, "startPrice");
            return (Criteria) this;
        }

        public Criteria andStartPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("start_price >=", value, "startPrice");
            return (Criteria) this;
        }

        public Criteria andStartPriceLessThan(Double value) {
            addCriterion("start_price <", value, "startPrice");
            return (Criteria) this;
        }

        public Criteria andStartPriceLessThanOrEqualTo(Double value) {
            addCriterion("start_price <=", value, "startPrice");
            return (Criteria) this;
        }

        public Criteria andStartPriceIn(List<Double> values) {
            addCriterion("start_price in", values, "startPrice");
            return (Criteria) this;
        }

        public Criteria andStartPriceNotIn(List<Double> values) {
            addCriterion("start_price not in", values, "startPrice");
            return (Criteria) this;
        }

        public Criteria andStartPriceBetween(Double value1, Double value2) {
            addCriterion("start_price between", value1, value2, "startPrice");
            return (Criteria) this;
        }

        public Criteria andStartPriceNotBetween(Double value1, Double value2) {
            addCriterion("start_price not between", value1, value2, "startPrice");
            return (Criteria) this;
        }

        public Criteria andPerWeightIsNull() {
            addCriterion("per_weight is null");
            return (Criteria) this;
        }

        public Criteria andPerWeightIsNotNull() {
            addCriterion("per_weight is not null");
            return (Criteria) this;
        }

        public Criteria andPerWeightEqualTo(Integer value) {
            addCriterion("per_weight =", value, "perWeight");
            return (Criteria) this;
        }

        public Criteria andPerWeightNotEqualTo(Integer value) {
            addCriterion("per_weight <>", value, "perWeight");
            return (Criteria) this;
        }

        public Criteria andPerWeightGreaterThan(Integer value) {
            addCriterion("per_weight >", value, "perWeight");
            return (Criteria) this;
        }

        public Criteria andPerWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("per_weight >=", value, "perWeight");
            return (Criteria) this;
        }

        public Criteria andPerWeightLessThan(Integer value) {
            addCriterion("per_weight <", value, "perWeight");
            return (Criteria) this;
        }

        public Criteria andPerWeightLessThanOrEqualTo(Integer value) {
            addCriterion("per_weight <=", value, "perWeight");
            return (Criteria) this;
        }

        public Criteria andPerWeightIn(List<Integer> values) {
            addCriterion("per_weight in", values, "perWeight");
            return (Criteria) this;
        }

        public Criteria andPerWeightNotIn(List<Integer> values) {
            addCriterion("per_weight not in", values, "perWeight");
            return (Criteria) this;
        }

        public Criteria andPerWeightBetween(Integer value1, Integer value2) {
            addCriterion("per_weight between", value1, value2, "perWeight");
            return (Criteria) this;
        }

        public Criteria andPerWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("per_weight not between", value1, value2, "perWeight");
            return (Criteria) this;
        }

        public Criteria andPerPriceIsNull() {
            addCriterion("per_price is null");
            return (Criteria) this;
        }

        public Criteria andPerPriceIsNotNull() {
            addCriterion("per_price is not null");
            return (Criteria) this;
        }

        public Criteria andPerPriceEqualTo(Double value) {
            addCriterion("per_price =", value, "perPrice");
            return (Criteria) this;
        }

        public Criteria andPerPriceNotEqualTo(Double value) {
            addCriterion("per_price <>", value, "perPrice");
            return (Criteria) this;
        }

        public Criteria andPerPriceGreaterThan(Double value) {
            addCriterion("per_price >", value, "perPrice");
            return (Criteria) this;
        }

        public Criteria andPerPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("per_price >=", value, "perPrice");
            return (Criteria) this;
        }

        public Criteria andPerPriceLessThan(Double value) {
            addCriterion("per_price <", value, "perPrice");
            return (Criteria) this;
        }

        public Criteria andPerPriceLessThanOrEqualTo(Double value) {
            addCriterion("per_price <=", value, "perPrice");
            return (Criteria) this;
        }

        public Criteria andPerPriceIn(List<Double> values) {
            addCriterion("per_price in", values, "perPrice");
            return (Criteria) this;
        }

        public Criteria andPerPriceNotIn(List<Double> values) {
            addCriterion("per_price not in", values, "perPrice");
            return (Criteria) this;
        }

        public Criteria andPerPriceBetween(Double value1, Double value2) {
            addCriterion("per_price between", value1, value2, "perPrice");
            return (Criteria) this;
        }

        public Criteria andPerPriceNotBetween(Double value1, Double value2) {
            addCriterion("per_price not between", value1, value2, "perPrice");
            return (Criteria) this;
        }

        public Criteria andCreatedAtIsNull() {
            addCriterion("created_at is null");
            return (Criteria) this;
        }

        public Criteria andCreatedAtIsNotNull() {
            addCriterion("created_at is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedAtEqualTo(Date value) {
            addCriterion("created_at =", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtNotEqualTo(Date value) {
            addCriterion("created_at <>", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtGreaterThan(Date value) {
            addCriterion("created_at >", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) {
            addCriterion("created_at >=", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtLessThan(Date value) {
            addCriterion("created_at <", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtLessThanOrEqualTo(Date value) {
            addCriterion("created_at <=", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtIn(List<Date> values) {
            addCriterion("created_at in", values, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtNotIn(List<Date> values) {
            addCriterion("created_at not in", values, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtBetween(Date value1, Date value2) {
            addCriterion("created_at between", value1, value2, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtNotBetween(Date value1, Date value2) {
            addCriterion("created_at not between", value1, value2, "createdAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtIsNull() {
            addCriterion("updated_at is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtIsNotNull() {
            addCriterion("updated_at is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtEqualTo(Date value) {
            addCriterion("updated_at =", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtNotEqualTo(Date value) {
            addCriterion("updated_at <>", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtGreaterThan(Date value) {
            addCriterion("updated_at >", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) {
            addCriterion("updated_at >=", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtLessThan(Date value) {
            addCriterion("updated_at <", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtLessThanOrEqualTo(Date value) {
            addCriterion("updated_at <=", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtIn(List<Date> values) {
            addCriterion("updated_at in", values, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtNotIn(List<Date> values) {
            addCriterion("updated_at not in", values, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtBetween(Date value1, Date value2) {
            addCriterion("updated_at between", value1, value2, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtNotBetween(Date value1, Date value2) {
            addCriterion("updated_at not between", value1, value2, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("remarks not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("remarks between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("remarks not between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andUserIdLikeInsensitive(String value) {
            addCriterion("upper(user_id) like", value.toUpperCase(), "userId");
            return (Criteria) this;
        }

        public Criteria andAreaIdsLikeInsensitive(String value) {
            addCriterion("upper(area_ids) like", value.toUpperCase(), "areaIds");
            return (Criteria) this;
        }

        public Criteria andAreaNamesLikeInsensitive(String value) {
            addCriterion("upper(area_names) like", value.toUpperCase(), "areaNames");
            return (Criteria) this;
        }

        public Criteria andRemarksLikeInsensitive(String value) {
            addCriterion("upper(remarks) like", value.toUpperCase(), "remarks");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}